package org.robot.scm.platform.wxrobot;

import java.util.List;
import lombok.Getter;
import org.robot.scm.platform.AbstractMonitor;
import org.robot.scm.platform.ReflectionLoader;

/**
 * @Author : Awn create on 2024/6/6 15:44
 */
public abstract class AbstractConnector {

    @Getter
    private static final List<? extends AbstractConnector> connectors = ReflectionLoader.load(AbstractConnector.class);

    public static void start() {
        connectors.forEach(AbstractConnector::run);
    }

    public abstract void run();

}
